//
//  MPMarkImageView.h
//  MarkPlatform
//
//  Created by xiao6 on 2018/1/7.
//  Copyright © 2018年 AT. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MPMarkView.h"
#import "MPTaskModel.h"
#import "MPMarkStep.h"

@interface MPMarkImageView : UIView
@property (nonatomic, weak) UIScrollView *scrollView;

@property (nonatomic, strong) UIImageView *imageView;
@property (nonatomic, strong) MPMarkView *markView;

@property (nonatomic, assign) CGSize maxSize;
@property (nonatomic, strong) MPTaskModel *model;

@property (nonatomic, strong) NSMutableArray<MPMarkStep *> *steps;
@property (nonatomic, strong) NSMutableArray<MPMarkStep *> *nextSteps;

- (void)addStepWithMark:(MPMarkModel *)mark;
- (void)addStep:(MPMarkStep *)step;
- (void)preStep;
- (void)nextStep;
- (void)clearStep;
- (NSString *)stepCoordinate;
@property (nonatomic, copy) void(^notifyUpdateDisplay)(MPMarkImageView *markView);
@end
